% -*- latex -*-

\Preamble{xhtml}

% Tex4ht's default definition of lists is complete crap.
% Unfortunately, it can't distinguish between "ul" and "dl" lists.

\ConfigureList{itemize}%
   {\EndP\HCode{<ul>}\let\endItem=\empty}
   {\ifvmode \IgnorePar\fi
    \EndP\HCode{</li></ul>}\ShowPar}
   {\endItem \def\endItem{\EndP\Tg</span>}\HCode{<li><span class="dt">}}
   {\HCode{</span><span class="dd">}}
\def\textbullet{}

\begin{document}

\EndPreamble
